Search for seating levels
POST/seating/search
Search for seating levels
Request
Query Parameters
Default value: 25
The number of results per page
Default value: 1
The page of results to return
Header Parameters
OneBasket API Key
- application/json
Body
required
The parent of the seating level
hasTagValues object
The tag values to search for
The tag flags to search for
Responses
- 200
- 400
- 401
The request has succeeded.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- ]
- ]
The current page of results
The number of results per page
The total number of pages
The total number of results
True if there is a next page
True if there is a previous page
results object[]required
The results for the current page
parents object[]required
The parent levels of the seating level
The level of the parent between the child and root levels
The count of children this level has
The depth of the seating level in the hierarchy
If true the seating level has children
{
"page": 0,
"pageSize": 0,
"pageTotal": 0,
"resultsTotal": 0,
"hasNextPage": true,
"hasPreviousPage": true,
"results": [
{
"parents": [
{
"parentLevel": 0,
"id": "string",
"parentId": "string",
"name": "string",
"tags": {},
"isRoot": true,
"kiosks": [
"string"
]
}
],
"childCount": 0,
"depth": 0,
"hasChildren": true,
"id": "string",
"parentId": "string",
"name": "string",
"tags": {},
"isRoot": true,
"kiosks": [
"string"
]
}
]
}
The server could not understand the request due to invalid syntax.
- application/json
- Schema
- Example (from schema)
Schema
A URI reference [RFC3986] that identifies the problem type.
Possible values: [Bad request]
A short, human-readable summary of the problem type.
Possible values: [400]
The HTTP status code([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.
A human-readable explanation specific to this occurrence of the problem.
A URI reference that identifies the specific occurrence of the problem.
errors objectrequired
property name* object
{
"type": "string",
"title": "Bad request",
"status": 400,
"detail": "string",
"instance": "string",
"errors": {}
}
Access is unauthorized.
- application/json
- Schema
- Example (from schema)
Schema
A URI reference [RFC3986] that identifies the problem type.
Possible values: [Unauthorized]
A short, human-readable summary of the problem type.
Possible values: [401]
The HTTP status code([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.
A human-readable explanation specific to this occurrence of the problem.
A URI reference that identifies the specific occurrence of the problem.
{
"type": "string",
"title": "Unauthorized",
"status": 401,
"detail": "string",
"instance": "string"
}